/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import java.util.logging.Level;
import java.util.logging.Logger;
import perpus.*;

/**
 *
 * @author admin
 */
public class TestBuku {
    public static void main(String[] args) {
        // TODO code application logic here
        Buku test = new Buku();
        try {
            test.setIdKoleksi("1234567891");
        } catch (Exception ex) {
            Logger.getLogger(TestBuku.class.getName()).log(Level.SEVERE, null, ex);
        }
        test.setJudul("Pemrograman Berorientasi Obyek 2");
            System.out.println("Judul = "+test.getJudul());
            System.out.println("Id Buku = "+test.getIdKoleksi());
            System.out.println("terlambat = "+test.isTerlambat(7));
            System.out.println("denda = "+test.hitungDenda(45));
    }
}
